package managementnode

import (
	"reflect"

	"zstackgo/spring"
)

func init() {
	spring.RegisterInterface("header.managementnode.ManagementNodeChangeListener", reflect.TypeOf((*ManagementNodeChangeListener)(nil)).Elem())
}

type ManagementNodeChangeListener interface {
	NodeJoin(inv ManagementNodeInventory)
	NodeLeft(inv ManagementNodeInventory)
	IAmDead(inv ManagementNodeInventory)
	IJoin(inv ManagementNodeInventory)
}
